# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-pyrebase
_pkgname=Pyrebase
pkgver=3.0.27
pkgrel=1
pkgdesc="simple python wrapper for the Firebase API"
options="!check" # no test suite
url="https://github.com/thisbejim/Pyrebase"
arch="noarch"
license="MIT"
depends="python3 py3-pycryptodome py3-requests py3-six py3-oauth2client
	py3-parsing py3-requests-toolbelt py3-python-jwt"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz
	drop-requirements.patch
	"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="
49368b656e49eb74d2e690f916eb3a80f0670f5dfcbca0d9972fd7be993df2901a1fe03c70ef738a721a90ea23a49c5361c4fefe80d6f012af609da104506805  Pyrebase-3.0.27.tar.gz
36fe10f58564995b09d8eced1a2e1b6db7e6c6ad24f3d8f34bbe31edeb331166b1ea11daf93d61c25886f7d5997cf3d4759502e989915aa5b5dceb010e1edd4c  drop-requirements.patch
"
